/**
 * 
 */
package com.brewdroid.db.dao;

import com.brewdroid.db.DatabaseHelper;
import com.brewdroid.model.IngredientCollection;

/**
 * @author meeusen
 *
 */
public class IngredientDAO {
	
	public static IngredientCollection getAllIngredients(DatabaseHelper db)
	{
		IngredientCollection ic = new IngredientCollection();
		ic.setMalts(MaltDAO.getMalts(db));
		ic.setYeasts(YeastDAO.getYeasts(db));
		ic.setHops(HopDAO.getHops(db));
		ic.setAdjuncts(AdjunctDAO.getAdjuncts(db));
		
		return ic;
	}

}
